<%-- 
    Document   : fotoUsuario
    Created on : 25/02/2010, 21:52:01
    Author     : alunoinf
--%>

<%@page import="ebe.dao.UsuarioDAO"%>
<%@page import="java.io.ByteArrayOutputStream"%>
<%@page import="ebe.model.Usuario"%>
<%@page import="ebe.controller.ControladorUsuario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%
            Usuario usr = ControladorUsuario.usuarioLogado();
            dao.gravaImagem(usr, request);
%>

<jsp:forward page="perfil.jsp"/>